package com.wzj.manage.controller;

import com.wzj.manage.entity.Manager;
import com.wzj.manage.service.ManagerService;
import io.netty.util.internal.StringUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.thymeleaf.util.StringUtils;

import javax.servlet.http.HttpSession;
import java.util.HashMap;
import java.util.List;

@Controller
@RequestMapping("index")
public class IndexController {
    //首页
    @RequestMapping("firstpage")
    public String firstpage(){
        return "firstpage";
    }
    //登录页
    @RequestMapping("login")
    public String login() {
        return "login";
    }
    //签约页
    @RequestMapping("signlist")
    public String signlist() {
        return "signlist";
    }


    @GetMapping("aaa")
    @ResponseBody
    public String aaa(){
        return "aaa";
    }
}
